<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<%--@elvariable id="category" type="com.zcm.modules.cms.entity.Category"--%>
<!DOCTYPE html>
<html>
<head>
	<title>${category.name}</title>
	<meta name="decorator" content="cms_default_${site.theme}"/>
	<meta name="description" content="${category.description}" />
	<meta name="keywords" content="${category.keywords}" />
</head>
<body>

<section class="g-bannerTop" style="background-image: url(${ctxStatic}/zcm/images/banner61.png);"></section>

<section class="content section61">
	<ul class="g-productList">
		<c:forEach items="${page.list}" var="article">
		<li>
			<div class="img"><a href="${article.url}"><img src="${article.image}" alt=""></a></div>
			<div class="btm">
				<h3>${fns:abbr(article.title,36)}</h3>
				<time><fmt:formatDate value="${article.updateDate}" pattern="yyyy-MM-dd"/></time>
			</div>
		</li>
		</c:forEach>
	</ul>
	${page.frontHtml}
	<script type="text/javascript">
        function page(n,s){
            location="${ctx}/list-${category.parentId}${urlSuffix}?pageNo="+n+"&pageSize="+s;
        }
	</script>
</section>
</body>
</html>